package com.cgtu.cgtucalculator.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@Slf4j
@Controller
public class PageController {

    @RequestMapping(value="/" , method = RequestMethod.GET)
    public String science() {
        log.info("index");
        return "index";
    }
    @RequestMapping(value="/standard" , method = RequestMethod.GET)
    public String standard() {
        log.info("index_standard");
        return "index_standard";
    }
    @RequestMapping(value="/date" , method = RequestMethod.GET)
    public String date() {
        log.info("index_date");
        return "index_date";
    }
    @RequestMapping(value="/length" , method = RequestMethod.GET)
    public String length() {
        log.info("index_length");
        return "index_length";
    }
    @RequestMapping(value="/vol" , method = RequestMethod.GET)
    public String vol() {
        log.info("index_vol");
        return "index_vol";
    }


}
